package kr.co.binaryrain.blog.bbs.web;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;


/**
 * Bbs controller
 * 
 * @author binaryrain
 * @since 2012. 10. 30.
 * @version 1.0
 * @see
 * 
 * <pre>
 * << 개정이력(Modification Information) >>
 *   
 *	  수정일  		수정자				수정내용		
 *	----------		------		------------------------
 *	2012. 10. 30.    jw				최초 생성
 *
 * </pre>
 */

@Controller("BbsController")
@RequestMapping(value="/bbs/bbs.do")
public class BbsController {
	
	@RequestMapping(params="method=bbsList")
	public ModelAndView bbsList(HttpServletRequest request, HttpServletResponse response){
		ModelAndView mav = new ModelAndView();
		
		System.out.println("bbs/bbsList");
		
		mav.setViewName("bbs/bbsList");
		return mav;
	}
}